home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Development
/
Source
/
Controls GH ƒ
/
Flag Control GH
/
FlagCDEF.h
< prev
Wrap
Text File
|
1993-10-21
|
743b
|
24 lines
/************ FlagCDEF.h ***********
****** prototypes and typedefs for the flag.c ****/
#pragma once
typedef struct Private
{
Boolean useColorQD;
Boolean devicesAvailable;
short oldValue;
RGBColor frameColor;
RGBColor fillColor;
}Private, *PrivatePtr, **PrivateHandle;
long CalcRegion(ControlHandle me, RgnHandle theRegion);
long CalcStripRegion(ControlHandle me, RgnHandle theRegion);
void CalcVertices(Point *vertices, Rect *ctlRect, short value);
void DrawLines(Point *vertices);
void DrawMe(ControlHandle me, short parm);
void DrawVertices(ControlHandle me, Point *vertices);
void InitMe(ControlHandle me);
Boolean TestForColor(void);
long TestMe(ControlHandle me, short v, short h);
long TrackMe(ControlHandle me, short part);